package com.qire.manhua.controller;

import android.view.View;

import com.qire.common.support.base.EventController;
import com.qire.manhua.BR;
import com.qire.manhua.activity.MainActivity;

/**
 * 主入口页，进场页面的事件控制器
 */
public class MainController extends EventController<MainActivity> {

    public MainController(MainActivity activity) {
        super(activity);
    }

    @Override
    protected void bindView() {
        owner.viewDataBinder().setVariable(BR.mainController, this);
        owner.viewDataBinder().setMainController(this);
    }

    public void adOnClick(View view) {

    }

    public void skipBtnOnClick(View view) {
        owner.closePage(true);
    }

}
